package com.xunji.standard.client;

import com.xunji.standard.common.R;
import com.xunji.standard.config.MultipartSupportConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @program: orange-wisdom
 * @author: 吃素的沙漠狼
 * @create: 2025-06-28 11:33
 **/
@FeignClient(name = "xunji-user", url = "${xunji-user.url}", configuration = {MultipartSupportConfig.class})
public interface XunjiUserClient {
    @GetMapping("/user/feign/user/name/{userId}")
    R getUserName(@PathVariable String userId);
}
